package com.sxjh.entity.param;

import com.sxjh.entity.PageEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
public class WorkshopListParam extends PageEntity {

    /**
     * 车间名称
     */
    @ApiModelProperty(value = "车间名称")
    private String name;

    /**
     * 所属位置
     */
    @ApiModelProperty(value = "所属位置")
    private String addr;

    /**
     * 是否启用标记
     */
    @ApiModelProperty(value = "是否启用标记,1:否,-1:是")
    private Integer activateFlag;

    /**
     * 唯一ID
     */
    @ApiModelProperty(value = "id")
    private Integer id;


    @ApiModelProperty(value = "工厂id")
    private Integer factoryId;


    @ApiModelProperty(value = "工厂名称")
    private String factoryName;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private Integer createdBy;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdAt;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private Integer updatedBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedAt;

    /**
     * 是否删除
     */
    @ApiModelProperty(value = "删除标记,1:否,-1:是")
    private Integer delFlag = 1;

    /**
     * 删除人
     */
    @ApiModelProperty(value = "删除人")
    private Integer deletedBy;

    /**
     * 删除时间
     */
    @ApiModelProperty(value = "删除时间")
    private LocalDateTime deletedAt;

    /*@ApiModelProperty(value = "物料id")
    private Integer materialId;

    @ApiModelProperty(value = "物料名称")
    private String materialName;*/

}
